#ifndef __HEADER_H__
#define __HEADER_H__

#include <string>

#include <ballade/smartclient.h>

using std::string;

class Header : public Ballade::SmartClient::Header
{
public:
	Header();
	Header(const Header &rhs);
	virtual const char* getName() const;
	virtual const unsigned int getLength() const;
	virtual const unsigned int getBodyLength() const;
	virtual void setRawValue(void *rawValue);
	virtual const char* getRawValue();

	void setName(const char *name);
	void setBodyLength(const unsigned int length);

private:
	char _name[5];
	unsigned int _bodyLength;
	char _rawValue[16];
};
#endif